package com.holly.unit.bpmn.activiti.pojo;

import com.alibaba.fastjson.JSONArray;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description: 入口管理
 * @Author: holly
 * @Date:   2022-03-21
 * @Version: V1.0
 */
@Data
public class ActButtonRequest{

	/**流程定义id*/
	@NotNull(message = "流程定义id不能为空", groups = {add.class,edit.class,getNodeButton.class})
	private String procDefId;
	/**节点Id*/
	@NotNull(message = "节点Id不能为空", groups = {add.class,edit.class,getNodeButton.class})
	private String nodeId;

	private JSONArray buttonArry;
	/**
	 * 参数校验分组：增加
	 */
	public @interface add {
	}

	/**
	 * 参数校验分组：编辑
	 */
	public @interface edit {
	}

	/**
	 * 参数校验分组：编辑
	 */
	public @interface getNodeButton {
	}


}
